package com.bcfn.bshop.item.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.bcfn.bshop.common.dao.BaseDao;
import com.bcfn.bshop.common.service.BaseServiceImpl;
import com.bcfn.bshop.item.dao.ItemDao;
import com.bcfn.bshop.item.dto.ItemDto;
import com.bcfn.bshop.item.model.Item;
import com.bcfn.bshop.item.service.ItemService;

/**
 * 商品.
 * @author LiangGuoNing
 * @create 2019年2月8日 下午5:53:23
 * @copyright
 * @modify
 */
@Service
public class ItemServiceImpl extends BaseServiceImpl<Long,Item,ItemDto> implements ItemService{

	@Resource
	private ItemDao bshopItemDao;
	
	public ItemServiceImpl() {
		super(Item.class,ItemDto.class);
	}

	@Override
	public BaseDao<Long, Item> getBaseDao() {
		return bshopItemDao;
	}

}
